package movee.zookeeper.leader.selector.cluster;

import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 集群信息
 *
 * @author movee
 */
@Data
@Builder
public class ClusterInfo {

    private String participant;
    private List<String> participants;
    private Boolean hasLeader;
    private Boolean isLeader;
    private String leader;
    private List<String> listeners;

}
